package it.antonio.leaves.testrepository;

import java.util.List;

public class UserController {
        private UserService us;

        public UserController(UserService us) {
                super();
                this.us = us;
        }
        
        public void add(User user){
                us.add(user);
        }
        
        public List<User> users(){
                return us.list();
        }
        
        public User dbUser(){
                return us.dbUser();
        }

        public void setAnotherUserService(AnotherUserService anotherUserService) {
                
        }

        public UserService getUs() {
                return us;
        }
        
        
}